Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a fatal log to return an error #60

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

claudusd
Copy link
Contributor

I replace the method Fatal by Print because the Fatal method do an os.Exit(1) and the lib stop and doesn't return the err.

Stopping the api client with an os.exit doesn't stop the promox provider properly.

The log.Fatal is use more than once in this library. If i have time (or someone else) i will do an other PR to clean it.

@ggongaware ggongaware merged commit ab21e7f into Telmate:master Nov 4, 2019
frostyfab pushed a commit to frostyfab/proxmox-api-go that referenced this pull request Nov 17, 2023
Remove a fatal log to return an error
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.

None yet

2 participants