From d01acea9cef5538154f2f938693446faa3625af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Wed, 2 Dec 2015 14:34:31 +0100 Subject: [PATCH] Nicer formatting for long parametrized function --- js/utils/error_utils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/utils/error_utils.js b/js/utils/error_utils.js index 6306ece4..753bbf61 100644 --- a/js/utils/error_utils.js +++ b/js/utils/error_utils.js @@ -13,7 +13,8 @@ import AppConstants from '../constants/application_constants'; * @param {boolean} ignoreSentry Defines whether or not the error should be submitted to Sentry * @param {string} comment Will also be submitted to Sentry, but will not be logged */ -function logGlobal(error, ignoreSentry = AppConstants.errorMessagesToIgnore.indexOf(error.message) > -1, comment) { +function logGlobal(error, ignoreSentry = AppConstants.errorMessagesToIgnore.indexOf(error.message) > -1, + comment) { console.error(error); if(!ignoreSentry) {