Robin Ward
13f2723dcb
FIX: Don't log an error to logster if a topic could not be updated.
...
If for some reason an update did not go through (for example,
concurrently updating the same topic twice), we were logging something
like:
```
create_errors_json called with unrecognized type: #<Topic
```
This happened because we knew an error occurred but the active record
object had no errors attached.
This patch fixes the issue by attaching a proper error message in the
event that this happens.
2020-04-22 11:56:04 -04:00
..
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-06 13:14:46 +10:00
2020-04-22 11:52:50 +03:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2019-05-20 13:47:20 +02:00
2019-05-13 09:31:32 +08:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2019-05-20 13:47:20 +02:00
2020-04-22 11:56:04 -04:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2020-04-20 11:37:59 +02:00
2018-07-31 14:41:49 +10:00
2018-05-29 21:07:17 +02:00
2015-02-27 23:53:58 +01:00
2019-04-25 22:49:21 +02:00
2015-02-27 23:53:58 +01:00
2015-02-27 23:53:58 +01:00
2017-02-24 11:35:33 +01:00