fix(basic.gblib): Allow MERGE keyword in storage #380. @othonlima
This commit is contained in:
parent
df76d1de65
commit
f2da1f8810
2 changed files with 9 additions and 1 deletions
|
@ -1673,7 +1673,7 @@ export class SystemKeywords {
|
|||
|
||||
function process(key, value, o) {
|
||||
if (value === '0000-00-00') {
|
||||
o[key] = '1970-01-01 00:00:00.000'
|
||||
o[key] = null;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -109,6 +109,14 @@ export class GBServer {
|
|||
GBLog.info('SIGTERM signal received.');
|
||||
});
|
||||
|
||||
process.on('uncaughtException', (err, p) => {
|
||||
if (err !== null) {
|
||||
err = err['e'] ? err['e'] : err;
|
||||
GBLog.error(`UNCAUGHT_EXCEPTION: ${err.toString()} ${err['stack'] ? '\n' + err['stack'] : ''}`);
|
||||
} else {
|
||||
GBLog.error('UNCAUGHT_EXCEPTION: Unknown error (err is null)');
|
||||
}
|
||||
});
|
||||
// Creates working directory.
|
||||
|
||||
process.env.PWD = process.cwd();
|
||||
|
|
Loading…
Add table
Reference in a new issue