Skip to content

Fix deprecated catch in fs_server terminate/2#77

Closed
gilbertwong96 wants to merge 1 commit into
synrc:masterfrom
gilbertwong96:fix/deprecated-catch
Closed

Fix deprecated catch in fs_server terminate/2#77
gilbertwong96 wants to merge 1 commit into
synrc:masterfrom
gilbertwong96:fix/deprecated-catch

Conversation

@gilbertwong96

Copy link
Copy Markdown

Replace the deprecated bare catch port_close(Port) with the modern try port_close(Port) catch _:_ -> ok end to clear the nowarn_deprecated_catch warning.

Replace deprecated bare 'catch port_close(Port)' with
'try port_close(Port) catch _:_ -> ok end'.
@gilbertwong96

Copy link
Copy Markdown
Author

Duplicated with #76

@gilbertwong96 gilbertwong96 deleted the fix/deprecated-catch branch June 24, 2026 16:18
@5HT

5HT commented Jun 24, 2026

Copy link
Copy Markdown
Member

Thanks guys.

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