Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendEmailBlock: Fail silently if file/folder is missing #898

Merged
merged 1 commit into from
Oct 2, 2024

Commits on Oct 2, 2024

  1. 🔄 synced local 'skyvern/' with remote 'skyvern/'

    <!-- ELLIPSIS_HIDDEN -->
    
    > [!IMPORTANT]
    > Update `SendEmailBlock` to log a warning for missing files or directories instead of raising an error, ensuring smoother email sending.
    >
    >   - **Behavior**:
    >     - Update `_get_file_paths` in `SendEmailBlock` to log a warning if a file or directory is missing instead of raising an error.
    >     - Handles paths that are URLs or S3 URIs separately, ensuring they are added to `file_paths` if valid.
    >   - **Logging**:
    >     - Adds a warning log for missing files or directories in `_get_file_paths`.
    >
    > <sup>This description was created by </sup>[<img alt="Ellipsis" src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=Skyvern-AI%2Fskyvern-cloud&utm_source=github&utm_medium=referral)<sup> for 6b1c5b609f14f473b80586c2b212f5b12ceac486. It will automatically update as commits are pushed.</sup>
    
    <!-- ELLIPSIS_HIDDEN -->
    ykeremy committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f2d619c View commit details
    Browse the repository at this point in the history