Skip to content

Commit

Permalink
Rename system error to internal error
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jun 12, 2022
1 parent aa9b995 commit 4ccc10c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/plugin/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const handlePluginsError = function (cause) {
}

const ERROR_MAP = {
SystemError: Error,
InternalError: Error,
UserError: Error,
PluginError,
ConsumerError: UserError,
Expand Down
4 changes: 2 additions & 2 deletions src/run/process/task_error.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const applyErrorProps = function (name, message) {
// - Whether the error should be reported as caused by the user or the plugin
// - Prefixing the error message
const ERROR_PROPS = {
SystemError: {
InternalError: {
ErrorType: PluginError,
prefix: 'Runner internal bug',
},
Expand All @@ -57,7 +57,7 @@ const ERROR_PROPS = {
},
}

const DEFAULT_ERROR_NAME = 'SystemError'
const DEFAULT_ERROR_NAME = 'InternalError'

// Keep the stack trace from the runner's process, but update it with the new
// `name` and `message`
Expand Down

0 comments on commit 4ccc10c

Please sign in to comment.