Skip to content

dx(cache): improve clean edge-case errors with quotes#394

Merged
ezolenko merged 1 commit into
ezolenko:masterfrom
agilgur5:dx-cache-clean-errors
Aug 8, 2022
Merged

dx(cache): improve clean edge-case errors with quotes#394
ezolenko merged 1 commit into
ezolenko:masterfrom
agilgur5:dx-cache-clean-errors

Conversation

@agilgur5

Copy link
Copy Markdown
Collaborator

Summary

Add quotes around vars in error messages in the cache's clean method

Details

  • follows the style of most of the other errors in the codebase
    • when referencing a variable, file path, etc, put quotes around it in the output
      • so it's easier to distinguish in the log

- follows the style of most of the other errors in the codebase
  - when referencing a variable, file path, etc, put quotes around it in the output
    - so it's easier to distinguish in the log
@agilgur5 agilgur5 added scope: docs Documentation could be improved. Or changes that only affect docs kind: optimization Performance, space, size, etc improvement kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc scope: cache Related to the cache and removed scope: docs Documentation could be improved. Or changes that only affect docs kind: optimization Performance, space, size, etc improvement labels Jul 22, 2022
@ezolenko ezolenko merged commit d17864d into ezolenko:master Aug 8, 2022
@agilgur5 agilgur5 deleted the dx-cache-clean-errors branch July 2, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: dx Improvements to dev experience, e.g. error messages, logging, external-facing docs, etc scope: cache Related to the cache

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants