This project is archived and is in readonly mode.
Add file name in script/runner
Reported by YoNoSoyTu | August 4th, 2008 @ 11:38 AM | in 2.x
When you run a script using script/runner and the script raises an exception or has a syntax error the stack trace do no uses the file name of your script for error reporting.
This simple patch add the file name information when using script/runner with a file based script.
I haven't found tests for script/runner and I really don't know how to test this, so… no test attached.
Comments and changes to this ticket
-
Michael Koziarski August 8th, 2008 @ 09:49 AM
- State changed from new to committed
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>