title: Ruby on Rails - Display syntax error from 500 internal server error
body: <p>How can I get the error which causes the 500 internal server error? Nothing is in the log file, unfortunately I did not write the code, I am just in charge of maintaining it and the code is quite a mess / all over the place.</p>
  
  <p>All I get is:</p>
  
  <pre><code>We're sorry, but something went wrong.
  
  We've been notified about this issue and we'll take a look at it shortly.
  </code></pre>
  
  <p>But that does not help me identify the line of code causing the issue.</p>