Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9202880

Browse files
committed
change error message
1 parentb0d23df commit9202880

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎translator/app/translator/core/exceptions/parser.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class QueryParenthesesException(BaseParserException):
2323
def__init__(self):
2424
message= (
2525
"The query logic is broken. In the input, the numbers of opening and closing parentheses "
26-
"do not match. If you think there's no error, please contact us via GitHub."
26+
"do not match. If you think there's no error, please contact us."
2727
)
2828
super().__init__(message)
2929

‎translator/app/translator/tools/decorators.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ def exception_handler(*args, **kwargs) -> tuple[bool, str]:
1515
returnFalse,str(err)
1616
exceptExceptionaserr:
1717
print(f"Unexpected error.{err!s}")
18-
returnFalse,"Unexpected error. To resolve it, please, contact us via GitHub."
18+
returnFalse,"Unexpected error. To resolve it, please, contact us."
1919
else:
2020
ifresult:
2121
print("Translated successfully.")
2222
returnTrue,result
2323

2424
print("Unexpected error.")
25-
returnFalse,"Unexpected error. To resolve it, please, contact us via GitHub."
25+
returnFalse,"Unexpected error. To resolve it, please, contact us."
2626

2727
returnexception_handler

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp