Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Commit

Permalink
fix timeouts for file alias requests. #109
Browse files Browse the repository at this point in the history
  • Loading branch information
Leon Weidauer committed Aug 28, 2015
1 parent 164eac3 commit 2314496
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ function handle_source_file_path(source, item) {
return;
}
} else {
reject(new Error("Invalid 'file' parameter"));
item.error = new Error("Invalid 'file' parameter. 'file' has to be in the format 'alias:path', e.g. ''photos:foo/bar/example.jpg'");
reject(item);
return;
}
item.conf = config.get(alias);
Expand Down

0 comments on commit 2314496

Please sign in to comment.