app-sdk
app-sdk copied to clipboard
Detect bodyParser setting in SDK and print a proper message
app-sdk requires bodyParser to be "false" so signature can be verified.
This part is easy to be omitted and leads to ambiguous error
2023-05-09T08:47:03.205Z app-sdk:SaleorWebhook Unexpected error: InternalServerError: stream is not readable
App-sdk should detect type of the body and throw with proper error and link to docs explaining how to fix it