Skip to content

fix: throw better error on getPath('logs') - #19514

Merged
codebytere merged 1 commit into
masterfrom
clarify-set-app-log-path
Jul 30, 2019
Merged

codebytere merged 1 commit into
masterfrom
clarify-set-app-log-path

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Clarifies what default path is created and set when setAppLogsPath() is called with no path parameter. Also throws a more specific error when getPath('logs') is called and setAppLogsPath() has not yet been called.

cc @ckerr

Checklist

Release Notes

Notes: getPath('logs') now throws better error when it fails to find the logs path.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Jul 29, 2019
@codebytere
codebytere requested a review from ckerr July 29, 2019 20:32
@codebytere
codebytere force-pushed the clarify-set-app-log-path branch from db750f7 to 4c9a6c1 Compare July 29, 2019 20:44
@codebytere
codebytere force-pushed the clarify-set-app-log-path branch from 4c9a6c1 to 7346662 Compare July 29, 2019 21:20
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jul 30, 2019
@codebytere
codebytere merged commit 69646f4 into master Jul 30, 2019
@release-clerk

release-clerk Bot commented Jul 30, 2019

Copy link
Copy Markdown

Release Notes Persisted

getPath('logs') now throws better error when it fails to find the logs path.

@codebytere
codebytere deleted the clarify-set-app-log-path branch July 30, 2019 20:55
@trop

trop Bot commented Jul 30, 2019

Copy link
Copy Markdown
Contributor

I was unable to backport this PR to "6-0-x" cleanly;
you will need to perform this backport manually.

@trop

trop Bot commented Jul 31, 2019

Copy link
Copy Markdown
Contributor

A maintainer has manually backported this PR to "6-0-x", please check out #19545

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants