strapi/packages
Ognjen Jevremović 9fa64f3ee4
fix: 🐛 Strapi parser middleware, catch block error (logging) (#9612)
Throwing error inside of a controller (using plain javascript) results
in a different error in parser middleware. Before calling methods on the
`message` pr operty on the error object a check should be performed to
see if the `message` property is defined on the error instance.

 Closes: #9356
2021-03-05 10:50:17 +01:00
..
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00
2021-03-01 11:24:44 +01:00