Knowing the graphql file where schema errors have occurred

i have an api based on apollographql server

on server start im loading graphql files (typedefs)
one of the files, contains a deliberate error (i have written string instead of String)

when i call:
schema = loadSchemaSync( schema_path, options )
im getting an error stating that “string is invalid, and did i mean String

i want to error to include the graphql file name where the error occurred (or at least to be able to console.log each file that is parsed correctly)