Skip to content

POST to checkin.php always responses 200 despite any errors occuring. #266

Closed
@obmsch

Description

@obmsch

I am wondering if this is intentional behaviour to keep the "normal" caller happy or
a just make it work situation. For now the only "reliable" option left to catch errors is
to parse the actual response for any traces of errors or exceptions.

Background: I am running a post-commit hook (svn) to automatically checkin
commits to MantisBT with a POST to checkin.php. So there I need a safe way to
inform the client (exitcode, message, mail,...) if the checkin really happened.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      close