Skip to content

Feature request: allow specification of errorReportFile as a global option #170

Open

Description

@jmb01

Currently, the location of error report files is either user-specified within a given function call or, by default, taken to be the working directory.

For cases when the user wants to store an errorReportFile outside of the working directory, but doesn't want to have to specify the path in every function call, it would be helpful to store it as option.

Activity

  1. added
    enhancement
    good first issue
    on Jun 7, 2022
  2. anthonysena commented on Jan 15, 2026

    @anthonysena
    Contributor

    I'd also find this option useful - specifically when handling operations through Strategus, it would be nice to keep the SQL errors related to a specific folder used when executing a study. I can work on an implementation but wanted to ask @schuemie would you prefer this as an option that is set using options() or using Sys.getenv()?

  3. schuemie commented on Jan 16, 2026

    @schuemie
    Member

    Good idea! I think an option would be better than an environmental variable because:

    • This would be consistent with other options in DatabaseConnector like "sqlRenderTempEmulationSchema"
    • This is likely something you want to set differently for different projects, so makes less sense as a system-wide variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgood first issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions