Skip to content

Hello world plugin giving 500 error and giving message as "exiting with code(0)" #9

@antedotee

Description

@antedotee

After entering name in the box, it was showing a red message below it rather than greeting properly(I am unable to show that screenshot as I have resolved the bug)

dest := (*[1024]byte)(unsafe.Pointer(uintptr(ptr)))
copy(dest[:size], dataBytes)

(above block code of code was causing error if JSON response exceeds 1024 bytes)

Image

Fix: After entering the name, it should greet instead of giving error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions