|
@@ -275,7 +275,9 @@ module.exports = (crowi) => {
|
|
|
return res.apiv3({ slackBotToken });
|
|
return res.apiv3({ slackBotToken });
|
|
|
}
|
|
}
|
|
|
catch (error) {
|
|
catch (error) {
|
|
|
- console.log('error dayo');
|
|
|
|
|
|
|
+ const msg = 'Error occured in testing to notify slack work space';
|
|
|
|
|
+ logger.error('Error', error);
|
|
|
|
|
+ return res.apiv3Err(new ErrorV3(msg, 'test-notify-slack-work-space-failed'), 500);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|