Switch to side-by-side view
--- a/src/ohradio.cxx +++ b/src/ohradio.cxx @@ -241,8 +241,8 @@ radio.dynArtist = decoded.get("artist", "").asString(); radio.dynArtUri = decoded.get("artUrl", "").asString(); radio.nextMetaScriptExecTime = time(0) + - decoded.get("reload", "10").asInt(); - } catch (...) { + decoded.get("reload", 10).asInt(); + } catch (std::exception e) { LOGERR("OHRadio::makestate: Json decode failed for [" << data << "]"); radio.nextMetaScriptExecTime = time(0) + 10;