1
0
mirror of synced 2025-12-26 14:02:10 -05:00
Files
airbyte/airbyte-integrations/bases/base-normalization/main_dev_transform_config.py
Cole Snodgrass 2e099acc52 update headers from 2022 -> 2023 (#22594)
* It's 2023!

* 2022 -> 2023

---------

Co-authored-by: evantahler <evan@airbyte.io>
2023-02-08 13:01:16 -08:00

22 lines
695 B
Python

#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
import logging
from airbyte_cdk.exception_handler import init_uncaught_exception_handler
from airbyte_cdk.utils.traced_exception import AirbyteTracedException
from normalization.transform_config.transform import main
if __name__ == "__main__":
init_uncaught_exception_handler(logging.getLogger("airbyte"))
try:
main()
except Exception as e:
msg = (
"Something went wrong while normalizing the data moved in this sync "
+ "(failed to transform config for dbt project). See the logs for more details."
)
raise AirbyteTracedException.from_exception(e, message=msg)