Skip to content

Commit 9483bf8

Browse files
authored
Merge pull request #703 from shakacode/small-error-formatting-fix
Small formatting tweak
2 parents 0594062 + 35412ba commit 9483bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node_package/src/clientStartup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ You should return a React.Component always for the client side entry point.`);
121121
}
122122
}
123123
} catch (e) {
124-
e.message = `ReactOnRails encountered an error while rendering component: ${name}.` +
124+
e.message = `ReactOnRails encountered an error while rendering component: ${name}.\n` +
125125
`Original message: ${e.message}`;
126126
throw e;
127127
}

0 commit comments

Comments
 (0)