diff --git a/modules/units/units.js b/modules/units/units.js index cda7d36..85c730d 100644 --- a/modules/units/units.js +++ b/modules/units/units.js @@ -19,8 +19,9 @@ var units = function(dbot) { })); var result = unit.convert(query); } - } catch (e) { - event.reply(dbot.t('error')); + catch (e) { + event.reply(dbot.t('error')); + } } }