This commit is contained in:
parent
eaaace4d28
commit
f5b3cd8f97
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
from sqlalchemy import func, distinct, select, join
|
from sqlalchemy import func, distinct, select, join
|
||||||
from sqlalchemy.orm import aliased
|
from sqlalchemy.orm import aliased
|
||||||
|
|
||||||
|
@ -130,5 +131,6 @@ def query_follows(author_id: int):
|
||||||
'communities': [{'id': 1, 'name': 'Дискурс', 'slug': 'discours'}],
|
'communities': [{'id': 1, 'name': 'Дискурс', 'slug': 'discours'}],
|
||||||
}
|
}
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(f'An error occurred while executing query_follows: {e}')
|
import traceback
|
||||||
raise Exception('An error occurred while executing query_follows') from e
|
logger.debug(traceback.format_exc())
|
||||||
|
raise Exception(e)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user