SVN commit 814265 by zwabel: When the indentation script has produced exceptions, but the returned indentation value is valid, use it anyway(A warning that an exception has happened is still printed). Motivation: The indentation_c indent script produces an exception after using kdevelop for a while, but it keeps working. M +1 -1 kateindentscript.cpp --- trunk/KDE/kdelibs/kate/script/kateindentscript.cpp #814264:814265 @@ -65,7 +65,7 @@ // error during the calling? if(m_engine->hasUncaughtException()) { displayBacktrace(result, "Error calling indent()"); - return -2; + m_engine->clearExceptions(); } int indentAmount = result.toInt32 (); if(m_engine->hasUncaughtException()) {