Skip to content

Deploying Python serverless app fails with nonsensical/incomplete error message #439

@skytreader

Description

@skytreader

See also serverless/serverless#7084.

I'm deploying a Python app in serverless and I get a Buffer object for a failure message:

 Exception -----------------------------------------------
 
  <Buffer 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0a 20 20 46 69 6c 65 20 22 2f 68 6f 6d 65 2f 63 ... >

This is all I get even with the verbose flag set or with SLS_DEBUG=*.

If you translate the hexdump you will see that it's the beginning of a Python stack trace:

Traceback (most recent call last):
  File "/home/c

Ideally, I'd want to see the whole stack trace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugwaiting-on-responseIf an issue goes without response for a while, close it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions