Plugin suddenly not publishing with unexpected error

Getting this error in the console suddenly when i try to publish my plugin privately. it’s been publishing fine up until now all afternoon

{
“error_class”: “UnexpectedError”,
“args”: {
“code”: “1750199346478x546407691899051400”
},
“message”: “Sorry, we ran into a temporary bug and can’t complete your request. We’ll fix it as soon as we can; please try again in a bit!”
}

I reverted to the previous version and now i’m able to publish again …

What changes have you made between those versions?

Im guessing i had some malformed javascript or something. Mostly i just deleted console.log statements, but its possible i accidently deleted a bracket in the action. Im not 100% sure though

Ok, so let’s see the code you have now and what it was before.