broadcast error from RestartBrowser
This commit is contained in:
parent
233fc76e7f
commit
27b7a5a2a9
1 changed files with 1 additions and 1 deletions
|
|
@ -332,7 +332,7 @@ func (w *watcher) compileLoop(ctx context.Context) error {
|
|||
if filepath.Ext(w.outputPath) == ".png" && !w.pw.Browser.IsConnected() {
|
||||
newPW, err := w.pw.RestartBrowser()
|
||||
if err != nil {
|
||||
broadcastErr := fmt.Errorf("issue encountered with PNG exporter, stopping")
|
||||
broadcastErr := fmt.Errorf("issue encountered with PNG exporter: %w", err)
|
||||
w.ms.Log.Error.Print(broadcastErr)
|
||||
w.broadcast(&compileResult{
|
||||
Err: broadcastErr.Error(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue