From 35412ba9c98ceb29b331a9844c29c4e69306dbc4 Mon Sep 17 00:00:00 2001 From: Justin Gordon Date: Tue, 31 Jan 2017 19:43:34 -1000 Subject: [PATCH] Small formatting tweak --- node_package/src/clientStartup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node_package/src/clientStartup.js b/node_package/src/clientStartup.js index 5bb8b4dfc..15d01d0e4 100644 --- a/node_package/src/clientStartup.js +++ b/node_package/src/clientStartup.js @@ -121,7 +121,7 @@ You should return a React.Component always for the client side entry point.`); } } } catch (e) { - e.message = `ReactOnRails encountered an error while rendering component: ${name}.` + + e.message = `ReactOnRails encountered an error while rendering component: ${name}.\n` + `Original message: ${e.message}`; throw e; }