Commit 9cc7eb55 authored by John Wang's avatar John Wang

feat: optimize version check error

parent 800e321f
......@@ -34,7 +34,7 @@ class VersionApi(Resource):
except Exception as error:
logging.warning("Check update version error: {}.".format(str(error)))
return {
'version': '0.0.0',
'version': args.get('current_version'),
'release_date': '',
'release_notes': '',
'can_auto_update': False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment