do not use %s to print error object
this ends up suppressing the backtrace
This commit is contained in:
+1
-1
@@ -1993,7 +1993,7 @@ function teardownRedis(app, options, callback) {
|
||||
if (error) return callback(new BoxError(BoxError.FS_ERROR, `Error removing redis data: ${error.message}`));
|
||||
|
||||
rimraf(path.join(paths.LOG_DIR, `redis-${app.id}`), function (error) {
|
||||
if (error) debugApp(app, 'cannot cleanup logs: %s', error);
|
||||
if (error) debugApp(app, 'cannot cleanup logs:', error);
|
||||
|
||||
appdb.unsetAddonConfig(app.id, 'redis', callback);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user