Skip to content

Commit

Permalink
fix(workflow): log proper error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuinness committed Jan 3, 2019
1 parent 0df8cc8 commit 5b59246
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/workflow/scripts/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ ${figures.pointer}
try {
file = relative(`${plugin}/${path}`, settings.project());
} catch (err) {
throw err;
error = err;
}
}

if (!file && error) {
Logger.error(error);
throw error;
}

Expand Down

0 comments on commit 5b59246

Please sign in to comment.