You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.Exception: Exception of type 'System.Exception' was thrown.
at YamlDotNet.Core.Scanner.ScanPlainScalar(Boolean\u0026 isMultiline)
at YamlDotNet.Core.Scanner.FetchPlainScalar()
at YamlDotNet.Core.Scanner.FetchMoreTokens()
at YamlDotNet.Core.Scanner.MoveNextWithoutConsuming()
at YamlDotNet.Core.Parser.GetCurrentToken()
at YamlDotNet.Core.Parser.ParseBlockSequenceEntry(Boolean isFirst)
at YamlDotNet.Core.Parser.MoveNext()
at YamlDotNet.RepresentationModel.YamlSequenceNode.Load(IParser parser, DocumentLoadingState state)
at YamlDotNet.RepresentationModel.YamlNode.ParseNode(IParser parser, DocumentLoadingState state)
at YamlDotNet.RepresentationModel.YamlMappingNode.Load(IParser parser, DocumentLoadingState state)
at YamlDotNet.RepresentationModel.YamlNode.ParseNode(IParser parser, DocumentLoadingState state)
at YamlDotNet.RepresentationModel.YamlSequenceNode.Load(IParser parser, DocumentLoadingState state)
at YamlDotNet.RepresentationModel.YamlNode.ParseNode(IParser parser, DocumentLoadingState state)
at YamlDotNet.RepresentationModel.YamlDocument..ctor(IParser parser)
at YamlDotNet.RepresentationModel.YamlStream.Load(IParser parser)
Unfortunately, I don't have access to the yaml document that caused the error, only to the logs.
The code that causes the error :
// yamlString is read from a file and not manipulated in any way.
using var streamReader = new StringReader(yamlString);
var yaml = new YamlStream();
yaml.Load(streamReader);
I believe that a more indicative exception should be thrown in this case.
The text was updated successfully, but these errors were encountered:
During parsing an error is encountered:
Unfortunately, I don't have access to the yaml document that caused the error, only to the logs.
The code that causes the error :
I believe that a more indicative exception should be thrown in this case.
The text was updated successfully, but these errors were encountered: