fixed error throwing bug

1 job for 225-drawer-throws-error in 12 minutes and 27 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #28905
code_quality

00:12:27