Fixing crash with unknown debug streams.

Closes #643.
This commit is contained in:
Robin Sommer 2011-10-21 10:39:09 -07:00
parent c8dfdb4492
commit 5e5e29f345
4 changed files with 60 additions and 5 deletions

View file

@ -72,7 +72,7 @@ void DebugLogger::EnableStreams(const char* s)
if ( strcasecmp("verbose", tok) == 0 )
verbose = true;
else
reporter->InternalError("unknown debug stream %s\n", tok);
reporter->FatalError("unknown debug stream %s\n", tok);
}
tok = strtok(0, ",");