Nike-Inc / hal

hal provides an AWS Lambda Custom Runtime environment for your Haskell applications.
BSD 3-Clause "New" or "Revised" License
240 stars 13 forks source link

`withInfalllibleParse` crashes runtime on parse failure #108

Closed IamfromSpace closed 11 months ago

IamfromSpace commented 2 years ago

Realistically, this error is recoverable for the runtime, even though this is clearly a terminal error for the individual invocation.

Ultimately, this is a minor issue because: the error is logged, this is clearly unexpected by the user, restarting the runtime shouldn't hurt much. However, from an ergonomic standpoint, this should be handled like anything else the handler does not expect.