Skip to content

Commit

Permalink
Better note command debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Sep 9, 2013
1 parent 1551289 commit c38b279
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -25,8 +25,10 @@ else if (ObjectFetcher.canFetch(arg.getValue().split("@")[0]))

}

if (!scriptEntry.hasObject("id") || !scriptEntry.hasObject("object"))
throw new InvalidArgumentsException("Must specify an id and fetchable-object to note.");
if (!scriptEntry.hasObject("id"))
throw new InvalidArgumentsException("Must specify an id");
if (!scriptEntry.hasObject("object"))
throw new InvalidArgumentsException("Must specify a fetchable-object to note.");

}

Expand Down

0 comments on commit c38b279

Please sign in to comment.