1
0
Fork 0

Make error message slightly more informative.

This commit is contained in:
curt 2003-03-21 20:39:59 +00:00
parent f4ccd7dfe2
commit 2e90248df8

View file

@ -158,9 +158,10 @@ void FGTileMgr::schedule_needed( double vis, SGBucket curr_bucket) {
|| latitude < -90.0 || latitude > 90.0 ) || latitude < -90.0 || latitude > 90.0 )
{ {
SG_LOG( SG_TERRAIN, SG_ALERT, SG_LOG( SG_TERRAIN, SG_ALERT,
"Attempting to schedule tiles for bogus latitude and" ); "Attempting to schedule tiles for bogus lon and lat = ("
<< longitude << "," << latitude << ")" );
SG_LOG( SG_TERRAIN, SG_ALERT, SG_LOG( SG_TERRAIN, SG_ALERT,
"longitude. This is a FATAL error. Exiting!" ); "This is a FATAL error. Exiting!" );
exit(-1); exit(-1);
} }