Added simple check to see if there is text.
Add this so we don't add a new line we don't need.master
parent
9e2163616b
commit
226e272787
|
@ -1,4 +1,4 @@
|
||||||
#if ENABLE_UNITYWEBREQUEST && (!UNITY_2019_1_OR_NEWER || UNITASK_WEBREQUEST_SUPPORT)
|
#if ENABLE_UNITYWEBREQUEST && (!UNITY_2019_1_OR_NEWER || UNITASK_WEBREQUEST_SUPPORT)
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
@ -49,7 +49,7 @@ namespace Cysharp.Threading.Tasks
|
||||||
{
|
{
|
||||||
if (msg == null)
|
if (msg == null)
|
||||||
{
|
{
|
||||||
if (Text != null)
|
if(!string.IsNullOrWhiteSpace(Text))
|
||||||
{
|
{
|
||||||
msg = Error + Environment.NewLine + Text;
|
msg = Error + Environment.NewLine + Text;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue