CASL / Futility

VERA Fortran Utilities
Other
44 stars 20 forks source link

Fix for very long warning messages #189

Closed rks171 closed 5 years ago

rks171 commented 5 years ago

Description: Prior to this, if a message passed to raiseWarning exceeded 512 characters, it would crash the code due to a IO error. This fix will truncate the end of the message in this case.

CASL Ticket # - 6064

rks171 commented 5 years ago

I ran into this issue when pulling this into CTF. Evidently I have some very long warning messages. Ideally they should be shorter, but Futility was actually crashing on an IO error and not printing the message, which is something we definitely do not want for a warning message.