Skip to content

Conversation

@ldebek
Copy link
Contributor

@ldebek ldebek commented Apr 19, 2023

Added skipping unlocking project if project lock already expired on MM server.

fix #55

@ldebek ldebek requested a review from wonder-sk April 19, 2023 14:33
Comment on lines +41 to +45
LOCK_EXPIRED_MESSAGE = (
"The requested URL was not found on the server. "
"If you entered the URL manually please check your spelling and try again."
)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would probably feel safer if we just check for single line, maybe only "The requested URL was not found on the server"

@varmar05 for mergin-server, do we have some alpha-number error-code system in place?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do, but is implemented only partially (mostly for limits errors).

I guess this message comes with 404 and it is auto generated by connexion lib (validation above flask level).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error raised when project's lock expired before unlocking

4 participants