Add line number for error
Merge pull request #786 from Sulcata/master

Add line number for error