ソースを参照

Showing db error messages in the console

tags/v0.14.0^2
Shaun 3ヶ月前
コミット
e69f4d8cae
1個のファイルの変更5行の追加3行の削除
  1. +5
    -3
      src/server/db/ioRethink.js

+ 5
- 3
src/server/db/ioRethink.js ファイルの表示

@@ -150,7 +150,7 @@ module.exports = {
})
.run();
} catch (e) {
this.logError({
await this.logError({
sourceModule: 'ioRethink',
sourceMethod: 'setAsync',
error: e,
@@ -173,7 +173,7 @@ module.exports = {
.insert(value, { conflict })
.run();
} catch (e) {
this.logError({
await this.logError({
sourceModule: 'ioRethink',
sourceMethod: 'setFlat',
error: e,
@@ -233,7 +233,7 @@ module.exports = {
})
.run();
} catch (e) {
this.logError({
await this.logError({
sourceModule: 'ioRethink',
sourceMethod: 'append',
error: e,
@@ -279,5 +279,7 @@ module.exports = {
});
} else
process.exit();

throw new Error('Forcing crash');
}
};

読み込み中…
キャンセル
保存