Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Added check if API init error is recoverable to console samples #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zack-TT
Copy link
Contributor

@Zack-TT Zack-TT commented Jun 24, 2016

(win form samples already had this check)

@JoshBramlett @johnnikho @renalds

This is a bit petty but can you give this a once over?

@JoshBramlett
Copy link
Contributor

@Zack-TT lg

if (ex.IsRecoverable == true)
{
// This error is recoverable and can be waited out
Console.WriteLine("Waiting for TT API to start");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add the ex.Message to the the message

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants