Log message #4197800

# At Username Text
# Aug 13th 2019, 15:20 neon1024 Then you could wrap the `->Examples->delete()` with a `try() catch {}`
# Aug 13th 2019, 15:20 neon1024 Or throw an exception if you want to stop
# Aug 13th 2019, 15:20 neon1024 You’d have to have the event return some data which you know is an error right?
# Aug 13th 2019, 15:19 neon1024 No, why would it? There isn’t an error :slightly_smiling_face:
# Aug 13th 2019, 15:19 latenal but it doesn’t report an error
# Aug 13th 2019, 15:19 neon1024 Have a look at how some soft delete plugins work
# Aug 13th 2019, 15:19 neon1024 Well if you stop the event in beforeDelete, the deletion will not happen
# Aug 13th 2019, 15:18 latenal @neon1024, I mean an error that would make `delete` method return `false`
# Aug 13th 2019, 15:17 neon1024 @spriz Yes
# Aug 13th 2019, 15:17 spriz @neon1024 did you have debug => true? :)
# Aug 13th 2019, 15:17 neon1024 Events can return data, so you could return an error
# Aug 13th 2019, 15:16 neon1024 Sure, just return it
# Aug 13th 2019, 15:16 latenal Hi, is there a way to send an error from `beforeDelete` event when I stop propagation?
# Aug 13th 2019, 15:08 spriz Great, then I know which one is the wrong one!! :)
# Aug 13th 2019, 15:08 neon1024 `2019-08-13 15:07:48 Error: [RuntimeException] Bar in /Users/davidyell/Sites/CallQualityTool/src/Shell/ExampleShell.php on line 32`
# Aug 13th 2019, 15:08 neon1024 I just get one
# Aug 13th 2019, 15:06 spriz I have ```
# Aug 13th 2019, 15:05 spriz Is this something weird going on with some Cake ErrorHandler, Monolog, some other dependency or what the f... :) :thinking_face:
# Aug 13th 2019, 15:05 spriz Could someone be an amazing person and check if you put `throw new \RuntimeException('Bar');` in a shell/command - do you have 2 outputs in your stderr mentioning 'Bar'? :thinking_face: :thinking_face:
# Aug 13th 2019, 14:45 admad :rolling_on_the_floor_laughing:
# Aug 13th 2019, 14:44 neon1024 The tests passed ;)
# Aug 13th 2019, 14:44 admad wipe the smug off ya face will ya :)
# Aug 13th 2019, 14:43 neon1024 Haha
# Aug 13th 2019, 14:42 admad doh, one for pic change for my brain to register :P
# Aug 13th 2019, 14:41 neon1024 Tis the season eh @dereuromark :P
# Aug 13th 2019, 14:38 spriz @neon1024 Oh it is neat for sure! :clap:
# Aug 13th 2019, 14:33 neon1024 I’ve not heard of Sentry before, it looks kinda cool
# Aug 13th 2019, 14:33 spriz Whack-a-doodle! It seems like all the crappy ones has `[ExceptionName]` pattern
# Aug 13th 2019, 14:31 neon1024 Not me, sorry @spriz
# Aug 13th 2019, 14:25 spriz Is anyone else using Monolog and Sentry in their Cake app? :thinking_face: I'm having an issue with duplicated entries in our Sentry that is not completely equal and I cannot figure out from where they origin.... https://drive.bondev.dk/d/f/504009216103594656
# Aug 13th 2019, 14:20 spriz Setting `App.Error.log` to `false` removes 2nd one :slightly_smiling_face:
# Aug 13th 2019, 14:19 spriz Ah, first one is ConsoleErrorHandler it seems, and 2nd is the log entry that goes to stdout as well
# Aug 13th 2019, 14:15 spriz as you can see the shell only contains `throw new \RuntimeException('Bar');`
# Aug 13th 2019, 14:14 spriz First at line 11 without trace and then line 12 with trace :thinking_face:
# Aug 13th 2019, 14:14 spriz Any idea why this shell would show exception stuff twice in my CLI? :thinking_face: :)
# Aug 13th 2019, 14:12 neothermic didn't realise it was showing the percentage as a circle :)
# Aug 13th 2019, 14:11 neothermic and until I got above 0.5%, I always assumed the logo for coverage was a red circle
# Aug 13th 2019, 14:11 neothermic it's SonarQube
# Aug 13th 2019, 14:09 neon1024 Swanky gui
# Aug 13th 2019, 14:09 neothermic it's infinitely better than last monday ;)
# Aug 13th 2019, 14:09 ricksaccous PROGRESS R O G R E S S