Revision 4970930c
Added by koszko over 1 year ago
html/install.js | ||
---|---|---|
105 | 105 |
|
106 | 106 |
work.err = function (error, user_message) { |
107 | 107 |
if (error) |
108 |
console.error(error);
|
|
108 |
console.error("Haketilo:", error);
|
|
109 | 109 |
work.is_ok = false; |
110 | 110 |
work.reject_cb(user_message); |
111 | 111 |
} |
... | ... | |
392 | 392 |
try { |
393 | 393 |
await haketilodb.save_items(data); |
394 | 394 |
} catch(e) { |
395 |
console.error(e); |
|
395 |
console.error("Haketilo:", e);
|
|
396 | 396 |
const msg = "Error writing to Haketilo's internal database :("; |
397 | 397 |
var dialog_prom = dialog.error(this.dialog_ctx, msg); |
398 | 398 |
} |
Also available in: Unified diff
prepend all generated console messages with 'Haketilo:'