Skip to content

Fix for #238 - nil pointer crash#239

Merged
ashishb merged 2 commits into
ashishb:mainfrom
rjp:fix/issue-238-nil-pointer-crash
Dec 21, 2025
Merged

Fix for #238 - nil pointer crash#239
ashishb merged 2 commits into
ashishb:mainfrom
rjp:fix/issue-238-nil-pointer-crash

Conversation

@rjp

@rjp rjp commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

waitOrStop now guards against resp == nil by returning our default timeout and stop values (since we don't have a valid response object, we can't really decide whether we need to bump the timeout but we probably don't want to stop because it might be transient.)

Should fix #238.

`waitOrStop` now guards against `resp == nil` by returning our default
`timeout` and `stop` values (since we don't have a valid response
object, we can't really decide whether we need to bump the timeout but
we probably don't want to stop because it might be transient.)

Should fix ashishb#238.
Comment thread src/wp2hugo/internal/mediacache/media_cache_setup.go Outdated
@ashishb ashishb merged commit cbbdce9 into ashishb:main Dec 21, 2025
3 checks passed
@rjp rjp deleted the fix/issue-238-nil-pointer-crash branch December 21, 2025 20:22
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.

Memory error on import

2 participants