ResourceLoader: Fail less hard when JSON serialization of config fails
authorRoan Kattouw <roan.kattouw@gmail.com>
Wed, 7 Nov 2018 23:04:50 +0000 (15:04 -0800)
committerRoan Kattouw <roan.kattouw@gmail.com>
Wed, 7 Nov 2018 23:04:50 +0000 (15:04 -0800)
commit1b53f3f6e222f9108c7b35f47cbfa38d447208ea
tree9f167c789139b9df4f686a86a0185b8091cb19bc
parent129911db6b32239258f091aeb082cc4406d6cd07
ResourceLoader: Fail less hard when JSON serialization of config fails

Instead of throwing an exception on the PHP side, log an error on the JS
side.

Change-Id: I673f59d936e48072e78f6b061ac06f37274ded77
includes/resourceloader/ResourceLoader.php