Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more debug info

  • Loading branch information...
commit d9a93d0b22784b96374bcb71959e138302ae0159 1 parent d53a8a5
Markus Tiefenbacher authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.js
View
4 app.js
@@ -83,7 +83,7 @@ var async = require('async');
try {
data = JSON.parse(data);
} catch(e) {
- return callback('File invalid!');
+ return callback('File invalid!', database+'/'+id);
}
callback(false, data);
@@ -163,7 +163,7 @@ var async = require('async');
try {
data = JSON.parse(data)
} catch(e) {
- console.log('File invalid!', data);
+ console.log('File invalid!', db+'/'+file);
}
if(typeof data !== 'string') {
Please sign in to comment.
Something went wrong with that request. Please try again.