Skip to content

Commit

Permalink
typo: forward mgr exception warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Mar 31, 2024
1 parent 2350fe8 commit 217cd6e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion free_one_api/impls/forward/mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async def __non_stream_query(
record.error = e
record.success = False

logging.warning("Exception should be processed by adapter but caught by forward manager:")
logging.warning("Exception should be processed by adapter but caught by forward manager:"+str(e))
# check for other error
return quart.jsonify({
"error": {
Expand Down
9 changes: 9 additions & 0 deletions free_one_api/impls/watchdog/tasks/recovery.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import asyncio

from ....models.watchdog import task
from ....models.channel import mgr as chanmgr
from ....entities import channel


class ChannelRecoveryTask(task.AbsTask):
"""Automatically recover disabled channels."""

0 comments on commit 217cd6e

Please sign in to comment.