Rethrow excepction instead of a copy

This fixes the cppcheck warning "(style) Throwing a copy of the caught
exception instead of rethrowing the original exception."
This commit is contained in:
Georg Baum 2016-06-06 21:52:52 +02:00
parent 42362cfb87
commit 03395b7871

View File

@ -103,7 +103,7 @@ void InsetBibtex::doDispatch(Cursor & cur, FuncRequest & cmd)
Alert::warning(message.title_, message.details_);
cur.noScreenUpdate();
} else
throw message;
throw;
break;
}