yiisoft / yiisoft/cache-file

Enhance error reporting by adding paths to exceptions

Open
#80 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:ready for adoption type:enhancement
Dominant language
PHP
Stars
13
Forks
12
Avg merge
1h 8m
Merged PRs (30d)
1

Description

image

There we should display the path where mkdir failed so the issue could be fixed without debugging.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the cache-file implementation for the mkdir call that fails, then inspect how its exception is constructed. The change is complete when the resulting exception reports the path involved, with the existing relevant tests run or an appropriate regression test added.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.