Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.33k stars 910 forks source link

Process crashes when Steam API is down #109

Closed rannmann closed 11 years ago

rannmann commented 11 years ago

When the Steam API is down (which happens pretty frequently, from what I gather), I'm getting this:

Unhandled Exception: SteamTrade.Exceptions.TradeException: 
I'm having a problem getting one of our backpacks. The Steam Community might be down. Ensure your backpack isn't private.

System.Exception: Could not fetch own inventory via Trading!   at SteamTrade.Trade.FetchInventories() in [path]\SteamBot\SteamTrade\Trade.cs:line 662

Makes sense and everything, but it seems to crash the entire process. Would there be a way to make it fail a little more gracefully?

rannmann commented 11 years ago

Duplicate of #98