josh/ruby-coffee-script — pull request #21 by niallsmart (2013-08-17 01:23:32+00:00)
Title: Preserve syntax error line and column numbers when available

Modern versions of CoffeeScript include line and column numbers with syntax errors. However due to how ExecJS serializes exceptions, this metadata is lost – only the exception message is returned.

This pull request uses a wrapper function to include the line and column information in the exception message, preserving it for programmers who might otherwise be pulling their hair out.