mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 19:30:21 +02:00
Dont allways assert on js failure
This commit is contained in:
@@ -184,7 +184,11 @@ void
|
||||
ScriptEngine::javaScriptConsoleMessage( const QString& message, int lineNumber, const QString& sourceID )
|
||||
{
|
||||
tLog() << "JAVASCRIPT:" << m_scriptPath << message << lineNumber << sourceID;
|
||||
Q_ASSERT( false );
|
||||
/// I guess there is somereason for a assert in here, maybe fatal js errors, but
|
||||
/// undefined is not so fatal
|
||||
if(sourceID != "undefined")
|
||||
Q_ASSERT( false );
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user