Skip to content

Commit

Permalink
cleaner error output
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 27, 2018
1 parent 54a4ce3 commit 844235c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -171,7 +171,7 @@ else if (scriptEntry.hasObject("path")) {
}

if (entries == null) {
dB.echoError("Script run failed (invalid path or script name)!");
dB.echoError(scriptEntry.getResidingQueue(), "Script inject failed (invalid path or script name)!");
return;
}

Expand Down
Expand Up @@ -189,7 +189,7 @@ else if (scriptEntry.hasObject("path") && scriptEntry.getObject("path") != null)
}

if (entries == null) {
dB.echoError("Script run failed (invalid path or script name)!");
dB.echoError(scriptEntry.getResidingQueue(), "Script run failed (invalid path or script name)!");
return;
}

Expand Down

0 comments on commit 844235c

Please sign in to comment.