mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
always use template strings instead of string concatenation
This commit is contained in:
@@ -63,7 +63,7 @@ async function importToBranch(req) {
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
const message = "Import failed with following error: '" + e.message + "'. More details might be in the logs.";
|
||||
const message = `Import failed with following error: '${e.message}'. More details might be in the logs.`;
|
||||
taskContext.reportError(message);
|
||||
|
||||
log.error(message + e.stack);
|
||||
|
||||
Reference in New Issue
Block a user