1
0
Fork 0
mirror of https://github.com/besterprotocol/besterd synced 2023-12-13 21:00:32 +01:00

Moved block of code into correct position

This commit is contained in:
Tristan B. Kildaire 2020-04-17 00:20:53 +02:00
parent 839b9545d4
commit 02812b3171

View file

@ -173,11 +173,6 @@ private class BesterConnection : Thread
if(payloadType.type == JSONType.string) if(payloadType.type == JSONType.string)
{ {
/* TODO: Move everything into this block */ /* TODO: Move everything into this block */
}
/* The header must contain a scope block */ /* The header must contain a scope block */
JSONValue scopeBlock; JSONValue scopeBlock;
@ -253,9 +248,12 @@ private class BesterConnection : Thread
/* TODO: Handle error */ /* TODO: Handle error */
debugPrint("Scope block JSON value not a string"); debugPrint("Scope block JSON value not a string");
} }
}
else
{
/* TODO: Add error handling */
debugPrint("Type is not of type JSON string");
}
} }
else else
{ {