commit | efe4dbd1fcd3208d36d886391c7e51eddf1bfa68 | [log] [tgz] |
---|---|---|
author | Simon Lei <simon.lei@ericsson.com> | Fri Sep 12 17:58:06 2014 -0400 |
committer | Simon Lei <simon.lei@ericsson.com> | Mon Sep 15 14:49:20 2014 +0000 |
tree | de2e20ed1fe7b918efb417da454b44f2064a6c65 | |
parent | 41c0bdd9fca148debcb1c4618323823d8331b396 [diff] |
Avoid throwing exception due to deleted change When a refupdated event is fired due to the deletion of a change (ie. deleting a draft), the plugin attempts to post a stream event related to the change, but an unhelpful exception is thrown because the change no longer exists. Replace exception with a null check. Change-Id: I7819d3b249c456f9d2749b808a9e67fd4759e3e8