Switch to unified view

a/src/ohradio.cxx b/src/ohradio.cxx
...
...
283
    // The data is in JSON format
283
    // The data is in JSON format
284
    Json::Value decoded;
284
    Json::Value decoded;
285
    try {
285
    try {
286
        istringstream input(data);
286
        istringstream input(data);
287
        input >> decoded;
287
        input >> decoded;
288
    } catch (std::exception e) {
288
    } catch (std::exception& e) {
289
        LOGERR("OHRadio::makestate: Json decode failed for [" << data << "]");
289
        LOGERR("OHRadio::makestate: Json decode failed: " << e.what() <<
290
               " for [" << data << "]\n");
290
        radio.nextMetaScriptExecTime = time(0) + 10;
291
        radio.nextMetaScriptExecTime = time(0) + 10;
291
        return;
292
        return;
292
    }
293
    }
293
294
294
    radio.dynTitle = decoded.get("title", "").asString();
295
    radio.dynTitle = decoded.get("title", "").asString();