diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index 93a46415cf..6058a7e942 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -1142,7 +1142,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { if (mediaRec != null) { try { mediaRec.stop(); - } catch (IllegalStateException e) { + } catch (RuntimeException e) { log.error(e.getMessage(), e); } indexFile(true, mediaRecFile);