1
0
Fork 0

use log level debug for startup warnings

This commit is contained in:
jsteemann 2019-04-30 12:33:55 +02:00
parent d63b8706dd
commit 0a7b17e917
1 changed files with 4 additions and 4 deletions

View File

@ -197,16 +197,16 @@ if (typeof window === 'undefined') {
)) { )) {
try { try {
// this will not work from within a browser // this will not work from within a browser
var __fs__ = require('fs'); let __fs__ = require('fs');
var __rcf__ = __fs__.join(__fs__.home(), '.arangosh.rc'); let __rcf__ = __fs__.join(__fs__.home(), '.arangosh.rc');
if (__fs__.exists(__rcf__)) { if (__fs__.exists(__rcf__)) {
/* jshint evil: true */ /* jshint evil: true */
var __content__ = __fs__.read(__rcf__); let __content__ = __fs__.read(__rcf__);
eval(__content__); eval(__content__);
} }
} catch (e) { } catch (e) {
require('console').warn('arangosh.rc: %s', String(e)); require('console').debug('arangosh.rc: %s', String(e));
} }
} }