mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
sql console now shows error message if any SQL error ocurred
This commit is contained in:
@@ -192,6 +192,8 @@ async function wrap(func) {
|
||||
catch (e) {
|
||||
log.error("Error executing query. Inner exception: " + e.stack + thisError.stack);
|
||||
|
||||
thisError.message = e.stack;
|
||||
|
||||
throw thisError;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user