do not use %s to print error object

this ends up suppressing the backtrace
This commit is contained in:
Girish Ramakrishnan
2021-05-13 22:22:55 -07:00
parent 65e114437b
commit 0c4b7f3202
2 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -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);
});