feat: 動作確認で発覚した不具合を修正。
This commit is contained in:
parent
89a57a1e04
commit
aa3c3f666f
@ -20,7 +20,7 @@ def exec():
|
||||
hdke_tbl_manager = JskultHdkeTblManager()
|
||||
try:
|
||||
if not hdke_tbl_manager.can_run_process():
|
||||
logger.error('日次バッチ処理中日次バッチ処理中またはdump取得が正常終了していないため、日次バッチ処理を終了します。')
|
||||
logger.error('日次バッチ処理中またはdump取得が正常終了していないため、日次バッチ処理を終了します。')
|
||||
return constants.BATCH_EXIT_CODE_SUCCESS
|
||||
except BatchOperationException as e:
|
||||
logger.exception(f'日付テーブルチェック処理エラー(異常終了){e}')
|
||||
|
||||
@ -17,7 +17,7 @@ logger = logging.getLogger()
|
||||
|
||||
def log_datetime_convert_tz(*arg):
|
||||
"""ログに出力するタイムスタンプのロケールを変更する(JST指定)"""
|
||||
return datetime.datetime.now(ZoneInfo(TZ)).timetuple()
|
||||
return datetime.now(ZoneInfo(TZ)).timetuple()
|
||||
|
||||
|
||||
formatter = logging.Formatter(
|
||||
@ -59,9 +59,8 @@ def lambda_handler(event, context):
|
||||
}
|
||||
)
|
||||
)
|
||||
print(f'{datetime.now():%Y-%m-%d %H:%M:%S} Info I-4 StepFunctions起動レスポンス:{str(response)}')
|
||||
|
||||
print(f'{datetime.now():%Y-%m-%d %H:%M:%S} Info I-5 駆動処理終了')
|
||||
logger.info(f'I-4 StepFunctions起動レスポンス:{str(response)}')
|
||||
logger.info(f'I-5 駆動処理終了')
|
||||
|
||||
|
||||
# ローカルでのデバック実行用。
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user